package cn.glow.readingcloud.homepage.service;

import cn.glow.readingcloud.common.result.Result;

/**
 * @Author Glow
 * @Date 2023-04-23 14:36:52
 * @Description
 * @Version 1.0
 */
public interface SearchService {

    /**
     * 获取热搜词
     * @param size
     * @return
     */
    Result getHotSearchWordList(Integer size);

    /**
     * 查询结果图书列表
     * @param keyword
     * @param from
     * @param size
     * @return
     */
    Result getSearchResultBooks(String keyword, Integer from, Integer size);

}
